<div>
  <div id="imglogo">
    <a href="/"><img src='/{{ .Site.Params.Imglogo }}' alt="{{ .Site.Title }}" title="{{ .Site.Title }}"/></a>
  </div>
  <div id="textlogo">
    <h1 class="site-name"><a href="/" title="{{ .Site.Title }}">{{ .Site.Title }}</a></h1>
    <h2 class="blog-motto">{{ .Site.Params.Subtitle }}</h2>
  </div>
  <div class="navbar"><a class="navbutton navmobile" href="#" title="menu"></a></div>
  <nav class="animated">
    <ul>
      {{ with .Site.Menus.main }}
      {{ range . }}
      <li><a href="{{ .URL }}">{{ .Name }}</a></li>
      {{ end }}
      {{ else }}
      <li><a href="/">Home</a></li>
      {{ end }}
    </ul>
  </nav>
</div>
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?618f19f09a8a13f732004c963dabfe77";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

